#include "visit.h"

/*!
 *@brief 处理一元操作符
 *@param node AST节点指针
 *@param s 符号表指针
 *@param bb 基本块指针
 *@return 字符串("+","-","!")

 */
string visit_unaryOp(ASTNode* node, SymbolTable* s, BasicBlock* bb) {
    if (!node) return "";

    return node->children[0]->value;
}